package org.sort;

import org.apache.hadoop.yarn.webapp.hamlet.Hamlet;

public class Driver {
    public static void main(String[] args) {
        int INF = Integer.MAX_VALUE;
        char[] Nodes = {'0', '1', '2', '3'};
        int matrix[][] = {
                /*A*//*B*//*C*//*D*/

                /*0*/ { 0, 1, 2, 1},

                /*1*/ { INF, 0, INF, INF},

                /*2*/ { INF, 3, 0, 1},

                /*3*/ { INF, 1, 1, 0},
        };

        int[] dist = new int[Nodes.length];
        Floyd floyd = new Floyd(Nodes, matrix);
        floyd.floyd();


        double[] a = new double[]{1,9,2,8,3,7,6,5};
        BubbleSort bubbleSort = new BubbleSort();
        bubbleSort.bubbleSort(a);
    }
}
